package com.zb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 工单用户表
 * </p>
 *
 * @author WEN
 * @since 2023-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWorkUser对象", description="工单用户表")
public class ZjWorkUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工单表ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "是否代他人建单：0-否，1-是")
    @TableField("is_help_other_create_order")
    private Boolean helpOtherCreateOrder;

    @ApiModelProperty(value = "代他人建单的用户表ID")
    private Long createOrderUserId;

    @ApiModelProperty(value = "用户表ID")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "其他电话")
    private String otherPhone;

    @ApiModelProperty(value = "地址-省")
    private String province;

    @ApiModelProperty(value = "地址-区")
    private String city;

    @ApiModelProperty(value = "地址-县/区")
    private String area;

    @ApiModelProperty(value = "地址-镇")
    private String town;

    @ApiModelProperty(value = "用户详细地址")
    private String address;


}
